package pl.prv.polanie.client.dto;
// default package

import com.google.gwt.user.client.rpc.IsSerializable;


/**
 * PreferenceType entity. @author MyEclipse Persistence Tools
 */

public class CSPreferenceTypeDTO extends Object implements IsSerializable, ICSDTO {


    // Fields    

     private long id;
     private String name;
     private String color;

    // Constructors

    /** default constructor */
    public CSPreferenceTypeDTO() {
    }

    public CSPreferenceTypeDTO(long id, String name, String color) {
    	this.id = id;
        this.name = name;
        this.color = color;
    }
    

   
    // Property accessors

    public long getId() {
        return this.id;
    }
    
    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return this.color;
    }
    
    public void setColor(String color) {
        this.color = color;
    }

   
	public String toString() {
		String result = "" +
			"[ " + CSPreferenceTypeDTO.class + "]" +
			"id: " + id +
			", name: " + name +
			", color: " + color; 
		return result;
	}







}